<ion-view view-title="追加评价" class="aftalkagain">
	<ion-nav-bar ng-class="baseclass">
		<ion-nav-back-button></ion-nav-back-button>
		<ion-nav-buttons side="right">
			<!--<p class="savebtntext f-size-15" on-tap="save()">保存</p>-->
			<button class="button button-clear saveText" on-tap="save()">保存</button>
		</ion-nav-buttons>
	</ion-nav-bar>

	<ion-content>
		<!--多个-->
		<div ng-repeat="order in orders.goods" class="margin-bottom-10" ng-if="type!=1">
			<div class="item item-input shopframe" on-tap="onshow_detail(order.goods_id,order.product_id)">
				<img src="{{order.goods_img?order.goods_img:noImg}}" />
				<p class="shoptext">{{order.goods_name}}</p>
			</div>
			<div class="item shareframe ">
				<textarea rows="4" placeholder="请对产品做出评价分享给其他想买的人" ng-model="input.comments[$index]"></textarea>
				<div ng-repeat="img in input.uploads_show[$index] track by $index">
					<!--<i class="icon ion-close-circled delImage" on-tap="ondelete($parent.$index,$index)"></i>-->
					<div class="posit">
						<img ng-src='{{img}}' on-tap="showmaximg($parent.$index,$index)" />
						<img src="./img/guilin/common/icon.dele-b@2x.png" class="delimg" on-tap="delimg($parent.$index,$index)">
					</div>
					<div ng-class="{'clear_zhang':($index+1)%4==0}"></div>
				</div>
				<img src="./img/guilin/comment/addimg@2x.png" on-tap="addStoreImg($index)" ng-show="input.uploads_show[$index].length!=4" />
			</div>
		</div>
		
		
		<!--单个-->
		<div class="margin-bottom-10" ng-if="type==1">
			<div class="item item-input shopframe" on-tap="onshow_detail(order.goods_id)">
				<img src="{{order.goods_img?order.goods_img:noImg}}" />
				<p class="shoptext">{{order.goods_name}}</p>
			</div>
			<div class="item shareframe">
				<textarea rows="4" placeholder="请对产品做出评价分享给其他想买的人" ng-model="input.comments[0]"></textarea>
				<div ng-repeat="img in input.uploads_show[0] track by $index">
					<div class="posit">
						<img src='{{img}}' on-tap="showmaximg(img)" />
						<img src="./img/guilin/common/icon.dele-b@2x.png" class="delimg" on-tap="delimg(0,$index)">
					</div>
				</div>
				<img src="./img/guilin/comment/addimg@2x.png" on-tap="addStoreImg(0)" ng-if="input.uploads_show[0].length!=4" />
			</div>
		</div>
		
	</ion-content>
</ion-view>